<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>PIECES</title>
	<link rel="stylesheet" href="/labwww/js/kissy/build/cssreset/reset.css" />
	<link rel="stylesheet" href="/labwww/pieces/css/pieces.css" />
</head>
<body onload="init(this)">
	<div class="all-wrap">
		<div class="main-wrap">
			<div id="header">
				<h1 id="logo">Pieces</h1>
				<ul class="top-nav">
					<li><a href="box">box</a></li>
					<li><a href="setting">setting</a></li>
					<li><a href="sign/out">sign out</a></li>
				</ul>
			</div>
			<div id="main">
				<form action="pieces/add" id="form_p">
				<div class="piecebox">
					<textarea autofocus="true" name="p" placeholder="text/links" id="textarea_p" class="textarea_p" cols="30" rows="10"></textarea>
				</div>
				<div class="piecebtn">
					<button class="submit" type="submit">+add</button>
				</div>
				</form>
			</div>
		</div>
		<div id="footer">BBN copyright@2010 ABOUT - BLOG - FAQ - TERM - FEEDBACK - CONTACT</div>
		<script>
			function init(b){
				console.log(b);
				document.body.style.height = "100%";
			}
			
		</script>
	</div>
	
</body>
</html>